#pragma once

#ifdef DEBUG
# define DEBUG_HEADER printf("[%s:%d] ", __FILE__, __LINE__)
# define DEBUG_PUTS DEBUG_HEADER; puts
# define DEBUG_PRINTF DEBUG_HEADER; printf
# pragma comment(linker, "/subsystem:console /entry:\"WinMainCRTStartup\"")
#else
# define DEBUG_PUTS (void)
# define DEBUG_PRINTF (void)
#endif